package cn.ztf.zshop.service;

import cn.ztf.zshop.bean.dto.AreaVo;
import cn.ztf.zshop.bean.po.Area;
import cn.ztf.zshop.bean.vo.AreaDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface AreaService extends IService<Area> {
    List<AreaVo> listArea();

    void add(AreaDto areaDto);

    void update(AreaDto areaDto);

    AreaVo getAreaById(Long areaId);

    void deleteAreaById(Long id);
}
